package com.clouds.wms.service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import com.clouds.wms.bean.Invmd;
import com.clouds.wms.exception.DatabaseException;
import com.clouds.wms.exception.SysException;
import com.clouds.wms.util.PagesBean;

public interface InvmdService {
	PagesBean getInvmdList(String maaa,String maab,int offset, int pageSize) throws SysException;
	int saveInvmd(Invmd invmd)throws SysException;
	int updateInvmd(Invmd invmd)throws SysException;
	int getMaxMdae()throws SysException;
	int delInvmd(String mcaa, String mcab, String mcacs)throws SysException;
	int changeStatus(String mcaa, String mcab, String status)throws SysException;
	@Transactional(propagation=Propagation.REQUIRED, rollbackFor=DatabaseException.class)
	void delInvmdmd(String mcaa, String mcab)throws SysException;
	void delInvmdAll(String mcaa, String mcab)throws SysException;
}
